.header {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    height: 50px;
    z-index: 2000;
    background-color: #fff;
    padding-left: 280px;
}

.header-logo {
    position: relative;
    width: 100px;
    object-fit: contain;
    cursor: pointer;
}

.header-logo a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.header-logo img {
    width: 100%;
    height: 100%;
}

.header-menu {
    display: none;
    cursor: pointer;
}

.header-menu svg {
    width: 100%;
    height: 100%;
}

/* nav start */
.nav {
    width: max-content;
    height: 100%;
}

.nav-list {
    display: flex;
    height: 100%;
}

.nav-list-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

.nav-list-item_a__span {
    color: var(--text-color);
    text-align: center;
    text-transform: capitalize;
    cursor: pointer;
}

.nav-list-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 150px;
    height: 36px;
    background-color: var(--text-color);
    padding-right: 10px;
    cursor: pointer;
}

.nav-list-search__span {
    color: #fff;
}

.nav-list-search-close {
    display: flex;
    align-items: center;
    margin: 0 5px;
}

.nav-list-item_a__span.active {
    color: #fff;
}

.nav-list-item-search {
    display: flex;
    align-items: center;
    height: 100%;
    border: 1px solid var(--input-border-color);
    padding-left: 5px;
}

.nav-list-item-search_input {
    flex-grow: 1;
    height: 100%;
    padding: 0 5px;
}

.nav-list-item-search_button {
    width: 40px;
    height: 100%;
    background-color: var(--main-color);
    border: none;
    color: #fff;
    cursor: pointer;
}
/* nav end */

@media screen and (min-width: 1024px) {
    .nav-list-item_a__span:hover {
        color: var(--main-color);
    }
}

@media screen and (max-width: 1024px) {
    .header .nav {
        display: none;
    }

    .header {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        flex-basis: auto;
        height: 60px;
    }

    .header-logo {
        width: 100px;
    }

    .header-menu {
        position: absolute;
        top: 50%;
        right: 30px;
        transform: translateY(-50%);
        display: block;
        width: 32px;
        height: 32px;
    }

    .nav {
        width: 184px;
        padding-top: 50px;
    }

    .nav-list {
        display: block;
    }

    .nav-list-item_a__span {
        color: var(--main-color);
    }

    .nav-list-item {
        flex-direction: column-reverse;
        justify-content: center;
        min-height: 42px;
        height: fit-content;
    }

    .nav-list-search {
        width: 100%;
        margin: 0;
        padding: 0;
        justify-content: center;
    }

    .nav-list-item-search {
        flex-direction: column;
        width: 160px;
        height: 80px;
        padding-left: 0;
    }

    .nav-list-item-search_input {
        width: 100%;
    }

    .nav-list-item-search_button {
        width: 100%;
    }

}